package com.by.toolkitspring.logback;

import ch.qos.logback.core.PropertyDefinerBase;
import com.by.toolkit.utils.IpUtil;

public class LocalIPDefiner extends PropertyDefinerBase {

    private static String localIp;

    static {
        localIp = IpUtil.getLocalIp();
    }

    @Override
    public String getPropertyValue() {
        return localIp;
    }

}
